i = 1
while i <= 9:

    j = 1
    while j <= i:
        # 不换行，通过\t制表符进行对齐
        print(f"{i}*{j}={i * j}\t", end="")
        j += 1

    i += 1
    print()
